The response of single two- and three-dimensional Helmholtz resonators subject to external excitation by a plane acoustic wave is studied. The inviscid linearized problem is solved by the matched-asymptotic-expansion technique in the low-frequency limit, i.e. when the characteristic neck dimension is small compared with the acoustic wavelength. The scale of the cavity is chosen such as to tune the system to the lowest Helmholtz mode. The results are compared with the classical lumped-element model, and refined expressions are derived for the effective mass (added length) and stiffness (effective cavity volume) of the resonator.